package com.jf3q.sup.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jf3q.sup.domain.SalesOrders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jf3q.sup.dto.SalesOrdersDto;
import com.jf3q.sup.vo.SalesOrderDetailsVo;
import com.jf3q.sup.vo.SalesOrdersVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.jf3q.sup.domain.SalesOrders
 */
public interface SalesOrdersMapper extends BaseMapper<SalesOrders> {

    IPage<SalesOrdersVo> selectPages(Page<SalesOrdersVo> page,@Param("salesOrdersDto") SalesOrdersDto salesOrdersDto);

    List<SalesOrderDetailsVo> selectSalesOrderDetails(Integer id);

    SalesOrdersVo selectOrders(Integer id);
}




